span {
    background-color: initial;
}
div span { //后代
    background-color: green;
}
div > span { //子代
    background-color: DodgerBlue;
}